<?php

namespace tmcore\services\sms;

use tmcore\base\BaseDriver;
use tmcore\services\ConfigService;
use tmcore\services\sms\driver\Aliyun;
use tmcore\services\sms\driver\Tencent;

/**
 * Class Sms
 * @package tmcore\services\sms
 * @mixin Aliyun
 * @mixin Tencent
 */
class Sms extends BaseDriver
{
    /**
     * 空间名
     * @var string
     */
    protected string $namespace = '\\tmcore\\services\\sms\\driver\\';

    /**
     * 默认驱动
     * @return mixed
     */
    protected function getDefaultDriver()
    {
        return (new ConfigService)->getConfig( 'default','sms');
    }

}